<h2><%= @user.display_name -%> have <%= pluralize(@list_items.size, @relation) -%>.</h2>
<div id="stream">
  <ol class="wa">
    <% if @list_items.nil? or @list_items.size == 0 -%>
      <li class="unlight">Looks like <%= @is_myself ? "you don't" :@user.display_name + " doesn't" -%> have any <%= @relation -%>.<li>
    <% else -%>
      <% @list_items.each do |item| -%>
        <li class="unlight">
          <%= link_to((image_tag(item.avatar)), {:controller => :message, :action => "user", :id => item.id}, :class => "avatar") -%>
          <%= link_to(item.display_name, {:controller => :message, :action => "user", :id => item.id}, :class => "name") -%>
          <p class="actions">
            <%= link_to("Private Message", {:controller => "direct_message",:action => "to", :id => item.id}, :class => 'bl') -%>
            <% unless params[:opt] == "f" -%>
              <% session[:ori_uri] = request.request_uri -%>
              <%= link_to("Delete", {:controller => "friend",:action => "delete", :id => item.id},  :confirm => "Do you really want to delete your friend #{item.display_name}?", :class => "post_act friend-remove") -%>
            <% end -%>
          </p>
        </li>
      <% end -%>
    <% end -%>
  </ol>
</div>